Stripe\ApiRequestor B

Total Complexity 97
Dependencies 31
Dependents 4
Total lines 629
Lines of code 328
Logical lines of code 183
Comment lines 188
Methods 21
Properties 7

Methods 21

Method Rating Maintainability Complexity Lines of code
_prepareRequest()
A
39 15 60
_specificAPIError()
A
48 14 28
_specificOAuthError()
A
54 8 19
_encodeObjects()
S
55 6 19
_formatAppInfo()
S
60 6 13
_defaultHeaders()
S
50 5 27
handleErrorResponse()
S
57 5 16
_interpretResponse()
S
58 5 13
_requestRaw()
S
53 4 23
_requestRawStreaming()
S
53 4 23
_telemetryJson()
S
57 3 17
requestStream()
S
64 4 9
_processResourceParam()
S
60 3 14
request()
S
64 3 9
_isDisabled()
S
65 3 9
httpClient()
S
71 2 6
__construct()
S
68 2 8
streamingHttpClient()
S
71 2 6
setStreamingHttpClient()
S
80 1 3
resetTelemetry()
S
80 1 3
setHttpClient()
S
80 1 3